#include "source.h"
#include "audio.h"

Source::Source(){

//	dead =false;
};

Source::~Source(){

	Audio* audio =Audio::Instance();
	audio->deleteSource(&id);
};

void Source::release(){

	Audio* audio =Audio::Instance();
	audio->deleteBuffer(&buffer);
};